package com.juzipi.inter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.juzipi.inter.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author juzipi
 * @Date 2021/4/14 15:49
 * @Info 老师表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "teacher")
public class Teacher extends BaseEntity {


    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String name;

    private String gender;

    private Integer age;

    private String email;

    private String phoneNumber;

}
